import allure
import pytest
from add import Add

class Test_001:
    @allure.title("加法测试1")
    def test_add(self):
        a= 6
        b =  5
        c = 11
        t1 = Add()
        aa = t1.addnub(a,b)
        assert aa == c

    @allure.title("加法测试2")
    @allure.step("操作1")
    def test_add2(self):
        a= 22
        b =  5
        c = 27
        t1 = Add()
        aa = t1.addnub(a,b)
        assert aa == c

    @allure.title("加法测试3")
    def test_add3(self):
        a= 22222
        b =  5
        c = 22227
        t1 = Add()
        aa = t1.addnub(a,b)
        assert aa == c













